package kathy_java6.cap1;
import kathy_java6.Funny;

public  class Funny2 extends Funny{
	void doIt(){
		System.out.println("value x in fun: " + x);
	}
	public  String  access(){
		System.out.println(doThings());
		return "";
	}
	public static void main(String[] args) {
		new Funny2().doIt();
		Funny f = new Funny();
		f.x = 10;
		System.out.println(f.x);
		new Funny2().doThings();
		Fun f2 = new Fun();
		System.out.println(f2.x);
	}
}
